package edu.gtcfla.km.appmodules.vo;

import java.io.Serializable;
import java.util.Date;

import org.vsg.biz.BusinessEntityFactory;

import edu.gtcfla.km.Knowledge;

public class KnowledgeFormVO implements Serializable {

	private Knowledge entity;
	
	private static BusinessEntityFactory entityFactory = BusinessEntityFactory.getInstance();
		
	public KnowledgeFormVO() {
		entity = entityFactory.create( Knowledge.class );
	}
	
	public KnowledgeFormVO(Knowledge knowledge) {
		entity = knowledge;
	}
	

	
	
	public String getId() {
		return entity.getId();
	}

	public void setId(String id) {
		entity.setId(id);
	}

	public String getTitle() {
		return entity.getTitle();
	}

	public String getContent() {
		return entity.getContent();
	}

	public void setTitle(String title) {
		entity.setTitle(title);
	}

	public void setContent(String content) {
		entity.setContent(content);
	}

	public short getShared() {
		return entity.getShared();
	}

	public String getKeywords() {
		return entity.getKeywords();
	}

	public void setShared(short shared) {
		entity.setShared(shared);
	}

	public void setKeywords(String keyword) {
		entity.setKeywords(keyword);
	}

	public String getReleasedUserId() {
		return entity.getReleasedUserId();
	}

	public void setReleasedUserId(String userId) {
		entity.setReleasedUserId(userId);
	}

	public Date getReleasedDate() {
		return entity.getReleasedDate();
	}

	public void setReleasedDate(Date inputDate) {
		entity.setReleasedDate(inputDate);
	}




	private String categoryId;
	private String categoryName;

	
	
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	
	
	
}